package pcloud.org.server.resource;

import java.util.Map;

import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.GET;

import pcloud.org.server.identity.AuthManager;

@At("/users/")
//@IocBean
public class IdentityResource 
{
	@At("/login/?/?")
	@GET
	public Map<String, String>  login(String userName, String clientId)
	{
		return AuthManager.login(userName, clientId);
	}
}
